package com.hopes.bizz.poll.common.constant;

/**
 * 监控模块常量
 *
 * @author: xk
 * @since: 1.0.0
 * @version: [1.0.0, 2021/3/18]
 */
public class MonitorConstant {
    /**
     * 分钟数据间隔十分钟
     */
    public static final int MINUTE_DATA_INTERVAL_10 = 10;
    /**
     * 小时数据间隔60分钟
     */
    public static final int MINUTE_DATA_INTERVAL_60 = 60;
    /**
     * 分钟数据间隔五分钟
     */
    public static final int MINUTE_DATA_INTERVAL_5 = 5;
    /**
     * 分钟数据间隔一分钟
     */
    public static final int MINUTE_DATA_INTERVAL_1 = 1;

    /**
     * 数据间隔：5分钟
     */
    public static final int DATA_INTERVAL_5 = 5;

    public static final int ONE = 1;

    /**
     * 24小时
     */
    public static final int HOUR_24 = 24;

    /**
     * 无需修约
     */
    public static final Integer REPAIR_NO_NEED = 0;

    /**
     * 正常数据
     */
    public static final Integer DATA_STATUS_NORMAL = 1;
    /**
     * 需修约数据
     */
    public static final Integer DATA_STATUS_REPAIR = 2;

    /**
     * 因子编码-液位
     */
    public static final String FACTOR_CODE_LIQUID = "**1";

    /**
     * COD
     */
    public static final String FACTOR_CODE_COD = "w01018";
    public static final String FACTOR_CODE_COD_05 = "011";
    public static final String FACTOR_CODE_PH = "w01001";
    public static final String FACTOR_CODE_PH_05 = "001";

    public static final String FACTOR_CODE_NHN = "w21003";
    public static final String FACTOR_CODE_NHN_05 = "060";

    public static final String FACTOR_CODE_WATER = "w00000";
    public static final String FACTOR_CODE_WATER_05 = "B01";

    /**
     * 因子属性：数据是否改变
     */
    public static final String FACTOR_ATTR_CHANGE = "change";
    /**
     * 因子属性：第一次出现时间
     */
    public static final String FACTOR_ATTR_FIRST_DATA_TIME = "firstTime";
    /**
     * 因子属性：监测值是否超标
     */
    public static final String FACTOR_ATTR_EXCESS = "excess";
    /**
     * 因子属性：监测值是否预警
     */
    public static final String FACTOR_ATTR_WARN = "warn";
    /**
     * 因子属性：折算值是否超标
     */
    public static final String FACTOR_ATTR_EXCESS_ZS = "zsExcess";
    /**
     * 因子属性：折算值是否预警
     */
    public static final String FACTOR_ATTR_WARN_ZS = "zsWarn";

    /**
     * 液位换算系数
     */
    public static final Double LIQUID_COEFFICIENT = 3.6;


    /**
     * 是AQI站点
     * * * */

    public static final String IS_AQI_MONITOR = "1";

    /**
     * 空气环境质量---监控点分类
     */
    public static final Integer MONITOR_TYPE_AIR = 1;
    /**
     * 重点污染源---监控点分类
     */
    public static final Integer MONITOR_TYPE_POLL = 2;
    /**
     * 水环境质量---监控点分类
     */
    public static final Integer MONITOR_TYPE_WATER = 3;

    /**
     * AQI排名类型
     * * * */
    /**
     * 乡镇类型
     * * * */
    public static final String TOWN = "town";
    /**
     * 空气站点类型
     * * * */
    public static final String AIR_MONITOR = "airMonitor";

    /**
     * AQI排名类型
     * * * */

    /**
     * 水站点类型
     * * * */
    public static final String WATER_MONITOR = "waterMonitor";

}
